package com.webex.ta.hydra.core;

import javax.swing.table.TableCellEditor;

/**
 * Created by Cisco WebEx.
 * User: vegaz
 * Date: 2010-8-18
 * Time: 8:36:11
 */
public interface Keyword {
    public static ParamDescriptor[] EMPTY_PARAMDESC =  new ParamDescriptor[0];

    public String getName();

    public ParamDescriptor[] getParamDescriptors(Command cmd);

    public void setParameters(HydraParameter... params);

    public HydraParameter[] getParameters();

    public int getParameterSize();

    public HydraParameter getParameterAt(int idx);

    public boolean validateCommand(final Command cmd);

    public TableCellEditor getParameterEditor(Command cmd, int paramIndex);
}
